<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<input type="hidden" name="zh_parsen/fzr_name"
    value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>" />
<input type="hidden" name="zh_parsen/fzr_mobile"
    value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>" />
<input type="hidden" name="zh_parsen/fzr_tel"
    value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>" />
<input type="hidden" name="zh_parsen/fzr_email"
    value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>" />
<div class="t_bar">项目基本情况</div>
<table class="t_css" width="100%" id="table_01">
    <col style="width: 20%;" />
    <col style="width: 16%;" />
    <col style="width: 24%;" />
    <col style="width: 16%;" />
    <col style="width: 24%;" />

    <tr>
        <td align="right"><span class="color_red">*</span>拟建实验室名称：</td>
        <td colspan="4">
            <input type='text' name='proposal/zh_title' id='zh_title' style="width: 92%"
                class="input_css required" maxlength="50"
                value='<x:out select="$xmlData/data/proposal/zh_title"/>' label="拟建实验室名称">
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>研究领域或所在学科：</td>
        <td colspan="2">
            <input type="text" label="研究领域或所在学科" name="proposal/field_or_subject"
                class="input_css required" maxlength="50"
                value="<x:out select="$xmlData/data/proposal/field_or_subject" />">
        </td>
        <td align="right"><span class="color_red">*</span>归口管理部门：</td>
        <td>
            <c:set var="recomend_org">{'id':'<x:out
                    select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out
                    select="$xmlData/data/proposal/recomend_org_name" />'}</c:set>
            <cpt:tree key="recommended_org" cacheable="false" className="hn_iuput_kuang "
                readonly="true" value="${recomend_org}" label="归口管理部门" id="recomend_org"
                onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true"
                onClick="initTreeValueExt" />
            <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"
                class="required"
                value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" label="归口管理部门">
            <input type="hidden" name="proposal/recomend_org_name"
                value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>联系人姓名：</td>
        <td colspan="2">
            <input type="text" label="联系人姓名" name="proposal/administrative_department_name"
                class="input_css required" maxlength="50"
                value="<x:out select="$xmlData/data/proposal/administrative_department_name" />">
        </td>
        <td align="right"><span class="color_red">*</span>联系人手机：</td>
        <td>
            <input type="text" label="联系人手机" name="proposal/administrative_department_mobile"
                class="input_css required mobile" onfocus="InitInput.setNumber(this,11,0,0)"
                maxlength="11"
                value="<x:out select="$xmlData/data/proposal/administrative_department_mobile" />">
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>申报日期：</td>
        <td colspan="4">
            <c:set var="submit_date">
                <x:out select="$xmlData/data/proposal/submit_date" />
            </c:set>
            <cpt:date id="apply_date_curr" name="proposal/submit_date" value="${submit_date}"
                className="required date" label="申报日期"></cpt:date>
        </td>
    </tr>
    <tr>
        <td rowspan="3" align="right"><span class="color_red">*</span>实验室主任：</td>
        <td align="right">姓名：</td>
        <td>
            <input type="text" label="实验室主任-->姓名" name="proposal/lab_director_name"
                class="input_css required" maxlength="50"
                value="<x:out select="$xmlData/data/proposal/lab_director_name" />">
        </td>
        <td align="right">出生日期：</td>
        <td>
            <c:set var="lab_director_birthday">
                <x:out select="$xmlData/data/proposal/lab_director_birthday" />
            </c:set>
            <cpt:date id="lab_director_birthday" name="proposal/lab_director_birthday"
                value="${lab_director_birthday}" className="required date beforeToday"
                label="实验室主任-->出生日期"></cpt:date>
        </td>
    </tr>
    <tr>
        <td align="right">职称：</td>
        <td>
            <c:set var="proftitlevalue1">{'id':'<x:out
                    select='$xmlData/data/proposal/lab_director_prof_title_value' />','name':'<x:out
                    select='$xmlData/data/proposal/lab_director_prof_title_name' />'}</c:set>
            <cpt:tree key="prof_title" cacheable="false" readonly="true" value="${proftitlevalue1}"
                id="lab_director_prof_title" name="lab_director_prof_title" showPattern="all"
                onClick="initTreeValueExt" shieldPattern="-1" label="实验室主任-->职称" />
            <input type="hidden" id="lab_director_prof_title_value"
                name="proposal/lab_director_prof_title_value"
                value="<x:out select='$xmlData/data/proposal/lab_director_prof_title_value' />"
                class="required" label="实验室主任-->职称" />
            <input type="hidden" id="lab_director_prof_title_name"
                name="proposal/lab_director_prof_title_name"
                value="<x:out select='$xmlData/data/proposal/lab_director_prof_title_name' />" />
        </td>
        </td>
        <td align="right">职务：</td>
        <td>
            <input type="text" label="实验室主任-->职务" name="proposal/lab_director_job"
                class="input_css required" maxlength="20"
                value="<x:out select="$xmlData/data/proposal/lab_director_job" />">
        </td>
    </tr>
    <tr>
        <td align="right">专业专长：</td>
        <td>
            <input type="text" label="实验室主任-->专业专长" name="proposal/lab_director_expertise"
                class="input_css required" maxlength="50"
                value="<x:out select="$xmlData/data/proposal/lab_director_expertise" />">
        </td>
        <td align="right">最后学位 ：</td>
        <td>
            <c:set var="highest_degree">
                <x:out select="$xmlData/data/proposal/highest_degree_value" />
            </c:set>
            <cpt:select id="highest_degree" key="highest_degree2" className="input_css"
                name="highest_degree" onChange="initControlValue(this.id);"
                value="${highest_degree }" style="width:167.5px;border: 1px solid #A1C0DC;"></cpt:select>
            <input type="hidden" name="proposal/highest_degree_value" value="${highest_degree }"
                class="input_text required" label="实验室主任-->最后学位" />
            <input type="hidden" name="proposal/highest_degree_name"
                value="<x:out select="$xmlData/data/proposal/highest_degree_name" />" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_02" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 14%" />
    <col style="width: 14%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />

    <tr>
        <td colspan="2" rowspan="2"><span class="color_red">*</span>近三年来承担课题</td>
        <td colspan="6">其中</td>
    </tr>
    <tr>
        <td colspan="2">国家级项目</td>
        <td colspan="2">省部级项目</td>
        <td colspan="2">横向课题</td>
    </tr>
    <tr>
        <td rowspan="5">
            年度实到经费<br />（万元）
        </td>
        <td>年度</td>
        <td>项目（项）</td>
        <td>经费（万）</td>
        <td>项目（项）</td>
        <td>经费（万）</td>
        <td>项目（项）</td>
        <td>经费（万）</td>
    </tr>
    <tr>
        <td>
            <input type="text" name="proposal/topic_year1" style="width: 60%"
                class="input_css required year" maxlength="4"
                value="<x:out select="$xmlData/data/proposal/topic_year1" />"
                label="近三年来承担课题-->年度实到经费-->年度中第一行">
            年
        </td>
        <td>
            <input name="proposal/topic_level1_year1_count" id="topic_level1_year1_count"
                class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->项目中第一行"
                value="<x:out select="$xmlData/data/proposal/topic_level1_year1_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year1_fund" id="topic_level1_year1_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->经费中第一行"
                value="<x:out select="$xmlData/data/proposal/topic_level1_year1_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year1_count" id="topic_level2_year1_count"
                class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->项目中第一行"
                value="<x:out select="$xmlData/data/proposal/topic_level2_year1_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year1_fund" id="topic_level2_year1_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->经费中第一行"
                value="<x:out select="$xmlData/data/proposal/topic_level2_year1_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year1_count" id="topic_level3_year1_count"
                class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->项目中第一行"
                value="<x:out select="$xmlData/data/proposal/topic_level3_year1_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year1_fund" id="topic_level3_year1_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->经费中第一行"
                value="<x:out select="$xmlData/data/proposal/topic_level3_year1_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td>
            <input type="text" name="proposal/topic_year2" style="width: 60%"
                class="input_css required year" maxlength="4"
                value="<x:out select="$xmlData/data/proposal/topic_year2" />"
                label="近三年来承担课题-->年度实到经费-->年度中第二行">
            年
        </td>
        <td>
            <input name="proposal/topic_level1_year2_count" id="topic_level1_year2_count"
                class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->项目中第二行"
                value="<x:out select="$xmlData/data/proposal/topic_level1_year2_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year2_fund" id="topic_level1_year2_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->经费中第二行"
                value="<x:out select="$xmlData/data/proposal/topic_level1_year2_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year2_count" id="topic_level2_year2_count"
                class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->项目中第二行"
                value="<x:out select="$xmlData/data/proposal/topic_level2_year2_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year2_fund" id="topic_level2_year2_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->经费中第二行"
                value="<x:out select="$xmlData/data/proposal/topic_level2_year2_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year2_count" id="topic_level3_year2_count"
                class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->项目中第二行"
                value="<x:out select="$xmlData/data/proposal/topic_level3_year2_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year2_fund" id="topic_level3_year2_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->经费中第二行"
                value="<x:out select="$xmlData/data/proposal/topic_level3_year2_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td>
            <input type="text" name="proposal/topic_year3" style="width: 60%"
                class="input_css required year" maxlength="4"
                value="<x:out select="$xmlData/data/proposal/topic_year3" />"
                label="近三年来承担课题-->年度实到经费-->年度中第三行">
            年
        </td>
        <td>
            <input name="proposal/topic_level1_year3_count" id="topic_level1_year3_count"
                class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->项目中第三行"
                value="<x:out select="$xmlData/data/proposal/topic_level1_year3_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year3_fund" id="topic_level1_year3_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->经费中第三行"
                value="<x:out select="$xmlData/data/proposal/topic_level1_year3_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year3_count" id="topic_level2_year3_count"
                class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->项目中第三行"
                value="<x:out select="$xmlData/data/proposal/topic_level2_year3_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year3_fund" id="topic_level2_year3_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->经费中第三行"
                value="<x:out select="$xmlData/data/proposal/topic_level2_year3_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year3_count" id="topic_level3_year3_count"
                class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->项目中第三行"
                value="<x:out select="$xmlData/data/proposal/topic_level3_year3_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year3_fund" id="topic_level3_year3_fund"
                class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->经费中第三行"
                value="<x:out select="$xmlData/data/proposal/topic_level3_year3_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td>合计</td>
        <td>
            <input name="proposal/topic_level1_total_count" id="topic_level1_total_count"
                value="<x:out select="$xmlData/data/proposal/topic_level1_total_count" />"
                style="text-align: right; width: 80%;" class="gray" readonly="readonly" />
        </td>
        <td>
            <input name="proposal/topic_level1_total_fund" id="topic_level1_total_fund"
                value="<x:out select="$xmlData/data/proposal/topic_level1_total_fund" />"
                style="text-align: right; width: 80%;" class="gray" readonly="readonly" />
        </td>
        <td>
            <input name="proposal/topic_level2_total_count" id="topic_level2_total_count"
                value="<x:out select="$xmlData/data/proposal/topic_level2_total_count" />"
                style="text-align: right; width: 80%;" class="gray" readonly="readonly" />
        </td>
        <td>
            <input name="proposal/topic_level2_total_fund" id="topic_level2_total_fund"
                value="<x:out select="$xmlData/data/proposal/topic_level2_total_fund" />"
                style="text-align: right; width: 80%;" class="gray" readonly="readonly" />
        </td>
        <td>
            <input name="proposal/topic_level3_total_count" id="topic_level3_total_count"
                value="<x:out select="$xmlData/data/proposal/topic_level3_total_count" />"
                style="text-align: right; width: 80%;" class="gray" readonly="readonly" />
        </td>
        <td>
            <input name="proposal/topic_level3_total_fund" id="topic_level3_total_fund"
                value="<x:out select="$xmlData/data/proposal/topic_level3_total_fund" />"
                style="text-align: right; width: 80%;" class="gray" readonly="readonly" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_03" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="6"><span class="color_red">*</span>近三年研究成果</td>
        <td rowspan="3">
            获奖<br />（项）
        </td>
        <td colspan="2">国家科技奖</td>
        <td colspan="3">省级科技奖</td>
        <td colspan="3">其他类型科技奖</td>
    </tr>
    <tr>
        <td>一等</td>
        <td>二等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_findings_winning_status1_level1" class="required"
                label="近三年研究成果-->获奖-->国家科技奖-->一等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level1" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status1_level2" class="required"
                label="近三年研究成果-->获奖-->国家科技奖-->二等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level2" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level1" class="required"
                label="近三年研究成果-->获奖-->省级科技奖-->一等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level1" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level2" class="required"
                label="近三年研究成果-->获奖-->省级科技奖-->二等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level2" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level3" class="required"
                label="近三年研究成果-->获奖-->省级科技奖-->三等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level3" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level1" class="required"
                label="近三年研究成果-->获奖-->其他类型科技奖-->一等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level1" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level2" class="required"
                label="近三年研究成果-->获奖-->其他类型科技奖-->二等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level2" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level3" class="required"
                label="近三年研究成果-->获奖-->其他类型科技奖-->三等"
                value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level3" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td rowspan="2">
            论文<br />（篇）
        </td>
        <td>SCI</td>
        <td>EI</td>
        <td>核心</td>
        <td rowspan="2">发明专利</td>
        <td>申报</td>
        <td>
            <input name="proposal/research_findings_paper_status1" class="required"
                label="近三年研究成果-->发明专利-->申报"
                value="<x:out select="$xmlData/data/proposal/research_findings_paper_status1" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td rowspan="2">专著</td>
        <td rowspan="2">
            <input name="proposal/research_findings_paper_status2" class="required"
                label="近三年研究成果-->专著"
                value="<x:out select="$xmlData/data/proposal/research_findings_paper_status2" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_findings_paper_status3" class="required"
                label="近三年研究成果-->论文-->SCI"
                value="<x:out select="$xmlData/data/proposal/research_findings_paper_status3" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_paper_status4" class="required"
                label="近三年研究成果-->论文-->EI"
                value="<x:out select="$xmlData/data/proposal/research_findings_paper_status4" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_paper_status5" class="required"
                label="近三年研究成果-->论文-->核心"
                value="<x:out select="$xmlData/data/proposal/research_findings_paper_status5" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>授权</td>
        <td>
            <input name="proposal/research_findings_paper_status6" class="required"
                label="近三年研究成果-->发明专利-->授权"
                value="<x:out select="$xmlData/data/proposal/research_findings_paper_status6" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td colspan="2">技术转让（项）</td>
        <td colspan="2">
            <input name="proposal/research_findings_technology_transfer" class="required"
                label="近三年研究成果-->技术转让"
                value="<x:out select="$xmlData/data/proposal/research_findings_technology_transfer" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td colspan="3">技术转让收益（万元）</td>
        <td colspan="2">
            <input name="proposal/research_findings_technology_transfer_fund" class="required"
                label="近三年研究成果-->技术转让收益"
                value="<x:out select="$xmlData/data/proposal/research_findings_technology_transfer_fund" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
</table>
<table class="t_css" width="100%" id="table_04" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>研究队伍</td>
        <td>总数</td>
        <td>国家级人才</td>
        <td>省级人才</td>
        <td>高级职称</td>
        <td>其中博士</td>
        <td>其中硕士</td>
        <td>35岁以下</td>
        <td>35-50岁</td>
        <td>50岁以上</td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_team_total" id="research_team_total" class="required"
                value="<x:out select="$xmlData/data/proposal/research_team_total" />"
                style="text-align: right; width: 80%;" class="gray" label="研究队伍-->总数"
                style="text-align: right;width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas1" id="research_team_count_stutas1"
                class="required" label="研究队伍-->国家级人才"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas1" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas2" id="research_team_count_stutas2"
                class="required" label="研究队伍-->省级人才"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas2" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas3" id="research_team_count_stutas3"
                class="required" label="研究队伍-->高级职称"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas3" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas4" id="research_team_count_stutas4"
                class="required" label="研究队伍-->其中博士"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas4" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas5" id="research_team_count_stutas5"
                class="required" label="研究队伍-->其中硕士"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas5" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas6" id="research_team_count_stutas6"
                class="required" label="研究队伍-->35岁以下"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas6" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas7" id="research_team_count_stutas7"
                class="required" label="研究队伍-->35-50岁"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas7" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas8" id="research_team_count_stutas8"
                class="required" label="研究队伍-->50岁以上"
                value="<x:out select="$xmlData/data/proposal/research_team_count_stutas8" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" style="text-align: center;" id="table_05">
    <col style="width: 10%;" />
    <col style="width: 18%;" />
    <col style="width: 18%;" />
    <col style="width: 18%;" />
    <col style="width: 18%;" />
    <col style="width: 18%;" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>科研基地</td>
        <td>
            资产总值<br />（万元）
        </td>
        <td>
            实验室面积<br />（平方米）
        </td>
        <td>
            仪器设备总值<br />（万元）
        </td>
        <td>大型设备台数</td>
        <td>
            近三年经费投入<br />（万元）
        </td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_base_stutas1" class="required"
                label="科研基地-->资产总值"
                value="<x:out select="$xmlData/data/proposal/research_base_stutas1" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/research_base_stutas2" class="required"
                label="科研基地-->实验室面积"
                value="<x:out select="$xmlData/data/proposal/research_base_stutas2" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/research_base_stutas3" class="required"
                label="科研基地-->仪器设备总值"
                value="<x:out select="$xmlData/data/proposal/research_base_stutas3" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/research_base_stutas4" class="required"
                label="科研基地-->大型设备台数"
                value="<x:out select="$xmlData/data/proposal/research_base_stutas4" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_base_stutas5" class="required"
                label="科研基地-->近三年经费投入"
                value="<x:out select="$xmlData/data/proposal/research_base_stutas5" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_06" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="5">依托单位性质</td>
        <td>高校院所</td>
        <td>单位性质</td>
        <td colspan="4">
            <c:set var="nature_type3_value">
                <x:out select="$xmlData/data/proposal/nature_type3_value" />
            </c:set>
            <cpt:checkbox key="nature_type3" name="nature_type3" width="70px" repeatColumn="4"
                value="${nature_type3_value }" tagType="radio"></cpt:checkbox>
            <input type="hidden" id="nature_type3_value" name="proposal/nature_type3_value"
                class="" value="${nature_type3_value}" label="单位性质">
            <input type="hidden" name="proposal/nature_type3_name"
                value="<x:out select="$xmlData/data/proposal/nature_type3_name" />">
        </td>
        <td>属地</td>
        <td colspan="2">
            <c:set var="territorial_value">
                <x:out select="$xmlData/data/proposal/territorial_value" />
            </c:set>
            <cpt:checkbox key="territorial" name="territorial" width="70px" repeatColumn="4"
                value="${territorial_value }" tagType="radio"></cpt:checkbox>
            <input type="hidden" id="territorial_value" name="proposal/territorial_value"
                class="" value="${territorial_value}" label="属地">
            <input type="hidden" name="proposal/territorial_name"
                value="<x:out select="$xmlData/data/proposal/territorial_name" />">
        </td>
    </tr>
    <tr>
        <td rowspan="4">
            <input type="text" name="proposal/colleges_and_universities"
                class="input_css " style="width: 80%;" maxlength="30"
                value="<x:out select="$xmlData/data/proposal/colleges_and_universities" />">
        </td>
        <td colspan="2">经济类型</td>
        <td colspan="2">内资比（%)</td>
        <td colspan="2">总员工数（人）</td>
        <td>是否高新技术企业</td>
        <td>是否上市</td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="text" name="proposal/economic_type" class="input_css "
                style="width: 80%;" maxlength="30"
                value="<x:out select="$xmlData/data/proposal/economic_type" />">
        </td>
        <td colspan="2">
            <input name="proposal/domestic_capital_ratio" class=""
                value="<x:out select="$xmlData/data/proposal/domestic_capital_ratio" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td colspan="2">
            <input name="proposal/emp_total_count" class=""
                value="<x:out select="$xmlData/data/proposal/emp_total_count" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <c:set var="boolean1">
                <x:out select="$xmlData/data/proposal/boolean1_value" />
            </c:set>
            <cpt:select id="boolean1" key="boolean" className="input_css" name="boolean1"
                onChange="initControlValue(this.id);" value="${boolean1 }"
                style="width:40px;border: 1px solid #A1C0DC;"></cpt:select>
            <input type="hidden" name="proposal/boolean1_value" value="${boolean1 }"
                class="input_text " label="" />
            <input type="hidden" name="proposal/boolean1_name"
                value="<x:out select="$xmlData/data/proposal/boolean1_name" />" />
        </td>
        <td>
            <c:set var="boolean2">
                <x:out select="$xmlData/data/proposal/boolean2_value" />
            </c:set>
            <cpt:select id="boolean2" key="boolean" className="input_css" name="boolean2"
                onChange="initControlValue(this.id);" value="${boolean2 }"
                style="width:40px;border: 1px solid #A1C0DC;"></cpt:select>
            <input type="hidden" name="proposal/boolean2_value" value="${boolean2 }"
                class="input_text " label="" />
            <input type="hidden" name="proposal/boolean2_name"
                value="<x:out select="$xmlData/data/proposal/boolean2_name" />" />
        </td>
    </tr>
    <tr>
        <td colspan="2" rowspan="2">近三年研发投入（万）及占年销售收比例（%）</td>
        <td rowspan="2">${statYear-3}年</td>
        <td>
            <input name="proposal/year1_investment" class=""
                value="<x:out select="$xmlData/data/proposal/year1_investment" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td rowspan="2">${statYear-2}年</td>
        <td>
            <input name="proposal/year2_investment" class=""
                value="<x:out select="$xmlData/data/proposal/year2_investment" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td rowspan="2">${statYear-1}年</td>
        <td>
            <input name="proposal/year3_investment" class=""
                value="<x:out select="$xmlData/data/proposal/year3_investment" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td>
            <input name="proposal/year1_sales_proportion" class=""
                value="<x:out select="$xmlData/data/proposal/year1_sales_proportion" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/year2_sales_proportion" class=""
                value="<x:out select="$xmlData/data/proposal/year2_sales_proportion" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/year3_sales_proportion" class=""
                value="<x:out select="$xmlData/data/proposal/year3_sales_proportion" />"
                style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" style="text-align: center;" id="table_08">
    <col style="width: 20%;" />
    <col style="width: 80%;" />
    <tr>
        <td align="right">
          <span class="color_red">*</span>项目简述：<br />（限280字）
        </td>
        <td>
            <textarea name="proposal/prj_brief" class="input_textarea required maxlength:280"
                label="项目简述" style="width: 98%" rows="9"><x:out
                    select="$xmlData/data/proposal/prj_brief" /></textarea>
            <input type="hidden" name="proposal/prj_brief_hidden"
                value="<x:out select="$xmlData/data/proposal/prj_brief_hidden" />" />
        </td>
    </tr>
</table>

<!-- 主要研究方向 ，可手动添加 -->
<div class="t_bar">
    <span class="color_red">*</span>主要研究方向
</div>
<table id="eq_table1" class="t_css" width="100%">
    <col style="width: 5%" />
    <col style="width: 5%" />
    <col style="width: 90%" />
    <thead>
        <tr style="border: 1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">研究方向</th>
        </tr>
    </thead>
    <tbody id="tab">
        <tr style="display: none">
            <td align="center">
                <input type="radio" style="border: 0px; background-color: white;"
                    class="radiobutton" name="selButton1">
            </td>
            <td align="center">
                <span name="achievements|achievement[0]@seq_no">[index]</span>
            </td>
            <td align="center">
                <input type="text" name="achievements|achievement[0]|research_direction"
                    class="required" maxlength="60" style="width: 80%" label="研究方向" value="" />
            </td>
        </tr>


        <c:set value="0" var="index" scope="page" />
        <x:forEach select="$xmlData/data/achievements/achievement" var="achievement">
            <c:choose>
                <c:when test="${index<10}">
                    <c:set value="0" var="flag" scope="page" />
                </c:when>
                <c:otherwise>
                    <c:set value="" var="flag" scope="page" />
                </c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px; background-color: white;"
                        class="radiobutton" name="selButton1">
                </td>
                <td align="center">
                    <span name="achievements/achievement[${flag}${index}]@seq_no"><x:out
                            select="$achievement/@seq_no" /></span>
                </td>

                <td align="center">
                    <input type="text"
                        name="achievements/achievement[${flag}${index}]/research_direction"
                        value="<x:out select="$achievement/research_direction" />" maxlength="60"
                        class="required" style="width: 80%" label="研究方向 " />
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page" />
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加"
                onclick="if(checkTabLimit('eq_table1',20,'主要研究方向 内容最多只能填写20条')){addNewRow('eq_table1');showDateTag('eq_table1');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移"
                onclick="movePrev('eq_table1','selButton1');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移"
                onclick="moveNext('eq_table1','selButton1');">
            <input class="button_02" name="cmddel" type=button value="删除"
                onclick="deleteSelectedRow('eq_table1','主要研究方向');">
        </td>
    </tr>
</table>
<script type="text/javascript">

//-------------计算合计------------------begin
$('#topic_level1_year1_count,#topic_level1_year2_count,#topic_level1_year3_count').change(function(){
	getTotalCount('topic_level1_','year1_count,year2_count,year3_count','total_count',false);
});
$('#topic_level1_year1_fund,#topic_level1_year2_fund,#topic_level1_year3_fund').change(function(){
	getTotalCount('topic_level1_','year1_fund,year2_fund,year3_fund','total_fund',true);
});
$('#topic_level2_year1_count,#topic_level2_year2_count,#topic_level2_year3_count').change(function(){
	getTotalCount('topic_level2_','year1_count,year2_count,year3_count','total_count',false);
});
$('#topic_level2_year1_fund,#topic_level2_year2_fund,#topic_level2_year3_fund').change(function(){
	getTotalCount('topic_level2_','year1_fund,year2_fund,year3_fund','total_fund',true);
});
$('#topic_level3_year1_count,#topic_level3_year2_count,#topic_level3_year3_count').change(function(){
	getTotalCount('topic_level3_','year1_count,year2_count,year3_count','total_count',false);
});
$('#topic_level3_year1_fund,#topic_level3_year2_fund,#topic_level3_year3_fund').change(function(){
	getTotalCount('topic_level3_','year1_fund,year2_fund,year3_fund','total_fund',true);
});
//-------------计算合计------------------end

/**
----------------------by zk
        描述：计算数值总数
        参数prefix：公共的id开头
        参数count：需要加的数的id结尾     以,分割
        参数total：总数id结尾
        参数isDeciaml：是否为小数 默认为false
*/
function getTotalCount(prefix,count,total,isDecimal){
  var defaultIsDecimal = false;//默认为整数
  if(isDecimal==null){
        isDecimal = defaultIsDecimal;
  }
  var numStr = count.split(',');
  var totalCount = 0;//总数
  if(!isDecimal){
        for ( var int = 0; int < numStr.length; int++) {
             var num = $('#'+prefix+numStr[int]).val();
             if(!$.isNumeric(num))
                  num = "0";
             totalCount += parseInt(num);
       }
  }else {
     for ( var int = 0; int < numStr.length; int++) {
         var num = $('#'+prefix+numStr[int]).val();
         if(!$.isNumeric(num))
             num = "0";
         totalCount += parseFloat(num);
     }
     totalCount = ((totalCount/100)*100).toFixed(2);
  }
  $('#'+prefix+total).val(totalCount);
}


function initTreeValueExt(treeId, treeNode) {
 	if ((treeNode && treeNode.isParent)) {
 		scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
 		$("#" + treeId).val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
 		return false;
 	}
 	var str = treeNode.name;
 	var obj = treeNode.parentNode;
 	while (obj != null) {
 		str = obj.name + "-" + str;
 		obj = obj.parentNode;
 	}
 	
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
}
</script>	